package com.sjft.cloud.commons.core.enums;

import com.sjft.cloud.commons.core.base.BaseEnum;

/**
 * UserTypeEnum
 *
 * @author Jin
 */
public enum UserTypeEnum implements BaseEnum<Integer> {

    系统(1, "system"),
    业务(2, "business"),
    会员(3, "member");

    public final Integer code;
    public final String alias;

    UserTypeEnum(Integer code, String alias) {
        this.code = code;
        this.alias = alias;
    }

    @Override
    public Integer getCode() {
        return code;
    }
}
